package com.itheima.service;

import com.itheima.domain.Account;

import java.util.List;

/**
 * @description:
 * @author: 付益民
 * @create: 2020-09-25-20:06
 */
public interface AccountService {
    int saveAccount(Account account);

    int deleteAccount(String id);

    int updateAccount(Account account);

    List<Account> findAll();

    Account findById(String id);

    void sendMoney(Account account1, Account account2, Double money);
}
